After updating I get this error
# help-with-umbraco
b
FileNotFoundException: Could not load file or assembly 'Mono.TextTemplating, Version=2.2.0.0, Culture=neutral, PublicKeyToken=4fa72d50da25cb30'. The system cannot find the file specified. System.Reflection.RuntimeAssembly.InternalLoad(AssemblyName assemblyName, ref StackCrawlMark stackMark, AssemblyLoadContext assemblyLoadContext, RuntimeAssembly requestingAssembly, bool throwOnFileNotFound) FileNotFoundException: Could not load file or assembly 'Mono.TextTemplating, Version=2.2.0.0, Culture=neutral, PublicKeyToken=4fa72d50da25cb30'. The system cannot find the file specified.
c
I have just run into this issue... almost 2 years later...
s
Could be anything, what if you revert the csproj changes, it should work again right? Then do the changes one by one as much as possible. Don't update non-umbraco things if not needed. But I guess it really depends which of the packages rely on Mono.TextTemplating (Umbraco and it's packages don't).
k
today i learnt -
Copy code
dotnet nuget why ./sitename.csproj Mono.TextTemplating
should tell you what it is pulling this dependency in.
spoiler, i don't think its one of the packages listed there. 😕
s
ooooh excellent! That one goes straight into my notes 👍
c
Yep, I used nuget why to find this was actually coming from EF
My issue was, I run VS previews, and 17.13 preview 4 dropped, which comes with:
SDK
9.0.200-preview.0.25057.12
I used Global.json to pin to a non-preview version, and it worked.
7 Views